home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / CSY2BX.ZIP;1 / CSYEXO.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-05-24  |  1.3 KB  |  40 lines

  1. @echo off
  2. echo.
  3. echo This batch file is designed to run in the directory in which Class(y) is
  4. echo installed.  It expects the patch file CSYEXO.RTP to be available in that
  5. echo directory, and it expects to find CLASSY.LIB in the current directory or
  6. echo in a subdirectory called LIB under the current directory.  If this is not
  7. echo the case, please press Ctrl-Break to exit.
  8. pause
  9. if not exist CSYEXO.RTP goto nopatch
  10. set CSYLIB=CLASSY
  11. if exist %CSYLIB%.LIB goto gotLib
  12. set CSYLIB=LIB\CLASSY
  13. if not exist %CSYLIB%.LIB goto noLib
  14. :gotLib
  15. if exist CLASSYX.LIB     goto confused
  16. if exist LIB\CLASSYX.LIB goto confused
  17. echo Copying %CSYLIB%.LIB to %CSYLIB%X.LIB...
  18. copy %CSYLIB%.LIB %CSYLIB%X.LIB
  19. echo Executing PATCH.EXE (supplied on Class(y) 2.0a distribution disk)
  20. patch CSYEXO
  21. if errorlevel 1 goto failure
  22. echo Patch was successful.  Use CLASSYX.LIB when linking with ExoSpace.
  23. goto end
  24. :nolib
  25. echo CLASSY.LIB not found.  Patch not applied.
  26. goto end
  27. :nopatch
  28. echo CSYEXO.RTP not found.  Patch not applied.
  29. goto end
  30. :confused
  31. echo CLASSYX.LIB already exists.  If you wish to generate a
  32. echo new copy of CLASSYX.LIB, delete the existing copy first.
  33. goto end
  34. :failure
  35. echo Patch failed, deleting CLASSYX.LIB...
  36. del %CSYLIB%X.LIB
  37. :end
  38. set CSYLIB=
  39. echo.
  40.